<template>
  <div>
    <vxe-date-picker v-model="val1" type="time" :shortcut-config="shortcutConfig"></vxe-date-picker>
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import { VxeDatePickerPropTypes } from 'vxe-pc-ui'

export default Vue.extend({
  data () {
    const shortcutConfig: VxeDatePickerPropTypes.ShortcutConfig = {
      options: [
        { code: 'now', content: '此刻' }
      ]
    }

    return {
      val1: '',
      shortcutConfig
    }
  }
})
</script>
